package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 背景图片对象 background
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class Background extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 背景ID，主键，自增 */
    private Long id;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String imgUrl;

    /** 状态：0未启用，1启用 */
    @Excel(name = "状态：0未启用，1启用")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imgUrl", getImgUrl())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
